#ifndef READER_H
#define READER_H

#include "../Basic/String.h"
#include "Stream.h"

namespace Lyt
{
	namespace IO
	{
		class StreamReader
		{
		public:
			IStream* Stream;

			StreamReader(IStream* ObjectStream);
			StreamReader(const WString FileName);
			~StreamReader();

			bool IsAvailable()const;
			void Close();
			WString Peek();
			WString Read();
			WString ReadLine();
			WString ReadToEnd();
		};
	}
}

#endif